package com.zengtengpeng.generator.utils;

import java.io.Serializable;
/**
 * 动态SQL语句
 * @author liguangcai
 * @date 2019/03/13 19:43
 */
@SuppressWarnings("serial")
public class DynamicSql implements Serializable{
	
	private String insert; // 插入
	private String update; // 更新
	private String condition; // 条件判断
	private String resultsValue; // 映射结果值 
	public DynamicSql(String insert, String update, String condition) {
		super();
		this.insert = insert;
		this.update = update;
		this.condition = condition;
	}
	public DynamicSql(String insert, String update, String condition, String resultsValue) {
		super();
		this.insert = insert;
		this.update = update;
		this.condition = condition;
		this.resultsValue = resultsValue;
	}
	public DynamicSql() {
		super();
	}
	public String getInsert() {
		return insert;
	}
	public void setInsert(String insert) {
		this.insert = insert;
	}
	public String getUpdate() {
		return update;
	}
	public void setUpdate(String update) {
		this.update = update;
	}
	public String getCondition() {
		return condition;
	}
	public void setCondition(String condition) {
		this.condition = condition;
	}
	public String getResultsValue() {
		return resultsValue;
	}
	public void setResultsValue(String resultsValue) {
		this.resultsValue = resultsValue;
	}

}
